Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save chats on quit, even if window isn't closed first #3387

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

cebtenzzre
Copy link
Member

@cebtenzzre cebtenzzre commented Jan 15, 2025

This allows GPT4All to remember its chats on reopening if it was closed with Cmd-Q on macOS.

Without this PR, closing the window by clicking the red dot will show a message like "serializing chats took 0 ms, saved 0 / 4 chats" in the console and save the chats, while Cmd-Q will not.

With this PR, chats are saved once in either case.

Fixes #3367

Signed-off-by: Jared Van Bortel <[email protected]>
Signed-off-by: Jared Van Bortel <[email protected]>
@cebtenzzre cebtenzzre marked this pull request as ready for review January 15, 2025 22:15
@cebtenzzre cebtenzzre requested a review from manyoso January 15, 2025 22:15
@cebtenzzre cebtenzzre merged commit 4812ddf into main Jan 16, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Won't save Chats when using Quit instead of the Red Dot.
2 participants